package com.icexxx.ice_browser;

import java.awt.Color;
import java.io.Serializable;

public class Request implements Serializable {

    /**
     * 序列化
     */
    private static final long serialVersionUID = 4134317194329045761L;

    private String id;
    private String url;
    private String key;
    private String method;
    private String param;
    private String content;
    private Color color;
    private Color foregroundColor;
    private int index;
    private int version;
    private long createTime;
    private long updateTime;
    private String remark;
    private boolean checked;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Color getForegroundColor() {
        return foregroundColor;
    }

    public void setForegroundColor(Color foregroundColor) {
        this.foregroundColor = foregroundColor;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    @Override
    public String toString() {
        return "Request [id=" + id + ", url=" + url + ", key=" + key + ", method=" + method + ", param=" + param
                + ", content=" + content + ", color=" + color + ", index=" + index + ", version=" + version
                + ", createTime=" + createTime + ", updateTime=" + updateTime + ", remark=" + remark + ", checked="
                + checked + "]";
    }
}
